package testing;

import static main.SympleBoard.WHITE;

import java.util.LinkedList;

import main.SympleBoard;

public class BoardTesting {
	public static void main(String[] args) {
		SympleBoard b = new SympleBoard();
		
		b.move(WHITE, (byte)20);
		b.move(WHITE, (byte)6);
//		b.move(white, (byte)24);
		
		
		LinkedList<Integer> l = new LinkedList<Integer>();
//		l.add(9);
		l.add(5);
		
		b.move(WHITE, l);
		
		
		l.clear();
		l.add(21);
		
		b.move(WHITE, l);
		System.out.println(b.getGroupFreePlaces((byte)2));
		System.out.println(b.getGroupFreePlaces((byte)4));
		b.revertMove();
		b.revertMove();
		b.revertMove();
		b.revertMove();

		System.out.println(b);
	}
}
